

<template>
  <div class="hotAct">
    <div class="hotAct_title">
      <div>邀您体验</div>
      <div class="lookmore" @click="gomore()">查看更多</div>
    </div>
    <div class="boxcontainer">
      <div class="pro">
        <div class="item" :style="bg_1"  @click="gomore()">
          <div>教育分期</div>
          <div>最高可贷16万</div>
        </div>
        <div class="item" :style="bg_2"  @click="gomore()">
          <div>医美分期</div>
          <div>新选择 更灵活</div>
        </div>
        <div class="item" :style="bg_3"  @click="gomore()">
          <div>房抵贷</div>
          <div>最高可贷16万</div>
        </div>
        <div class="item" :style="bg_4"  @click="gomore()">
          <div>大额抵押</div>
          <div>新选择</div>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      bg_1: {
        backgroundImage:
          "url(" + require("./../assets/images/homepage/bg_1.png") + ")",
        backgroundRepeat: "no-repeat",
        backgroundSize: "100% 100%"
      },
      bg_2: {
        backgroundImage:
          "url(" + require("./../assets/images/homepage/bg_2.png") + ")",
        backgroundRepeat: "no-repeat",
        backgroundSize: "100% 100%"
      },
      bg_3: {
        backgroundImage:
          "url(" + require("./../assets/images/homepage/bg_3.png") + ")",
        backgroundRepeat: "no-repeat",
        backgroundSize: "100% 100%"
      },
      bg_4: {
        backgroundImage:
          "url(" + require("./../assets/images/homepage/bg_4.png") + ")",
        backgroundRepeat: "no-repeat",
        backgroundSize: "100% 100%"
      }
    };
  },
  methods: {
    gomore() {
      this.$router.push({ name: "ExperienceList" });
    }
  },
  mounted(){
    
  }
};
</script>
<style scoped>
.boxcontainer {
  margin-top: 0.2rem;
}
.hotAct {
  padding: 0.25rem;
  margin-top: 0.2rem;
  background: #fff;
}
.hotAct_title {
  border-left: 4px solid #dbb47f;
  box-sizing: border-box;
  padding-left: 0.2rem;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
    font-size: 0.28rem;
}
.lookmore {
  color: #919191;
  font-size: 0.25rem;
  font-weight: initial;
}
.newList {
  width: 100%;
}
.itemList {
  padding-bottom: 0.1rem;
  border-bottom: 1px solid #eeeeee;
}
.listTitle {
  width: 100%;
  margin-top: 0.15rem;
  margin-bottom: 0.1rem;
}
.listContent {
  width: 100%;
  margin-top: 0.1rem;
  margin-bottom: 0.1rem;
  color: #999999;
  line-height: 0.45rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 0.26rem;
}

.pro {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.2rem;
  flex-wrap: wrap;
}
.pro > div {
  width: 49%;
  height: 1.7rem;
  padding: 0.4rem;
  box-sizing: border-box;
  margin-bottom: 0.13rem;
}
.item div:nth-child(1) {
  color: #fff;
  font-size: 0.32rem;
  font-weight: bold;
}
.item div:nth-child(2) {
  color: #fbfbfb;
  font-size: 0.27rem;
  margin-top: 0.1rem;
}
</style>